package com.isoftstone.disk.login.repository;

import com.isoftstone.disk.login.entity.PtUserEntity;
import com.isoftstone.disk.mybatis.entity.PtMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LoginDao {
    List<PtUserEntity> queryUserInfoByUserName(@Param("username") String username);

    List<String> queryUserAuthByUserId(@Param("userUuid")String userUuid);

    List<PtMenuEntity> queryMenuLevelByLangId(@Param("lang")String lang,@Param("userUuid")String userUUID);
}
